﻿using JESAI.EventBus.Attributes;
using JESAI.EventBus.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.EventBus.Contexts
{
    public class EventExecutedContext : BaseEventExecuteContext
    {
        internal EventExecutedContext(IEvent @event
       , MethodInfo handleMethod
       , EventSubscribeAttribute attribute)
       : base(@event, handleMethod, attribute)
        {
        }
        public DateTime ExecutedTime { get; internal set; }

        public InvalidOperationException Exception { get; internal set; }
    }
}
